home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Celestin Apprentice 5
/
Apprentice-Release5.iso
/
Source Code
/
C
/
Applications
/
GW AdaEd 1.4.2
/
GWAdaDemos
/
Spider
/
DRAW11.ADA
< prev
next >
Wrap
Text File
|
1994-01-11
|
328b
|
30 lines
WITH Spider; USE Spider; WITH Left;
PROCEDURE Drawing11 IS
PROCEDURE Walk IS
BEGIN
WHILE NOT AtWall LOOP
Step;
END LOOP;
END Walk;
PROCEDURE Diagonal IS
BEGIN
WHILE NOT AtWall LOOP
Step; Turn;
Step; Left;
END LOOP;
END Diagonal;
BEGIN
Start;
Turn;
Walk;
Left;
Walk;
Left;
Left;
Diagonal;
Quit;
END Drawing11;